﻿
/**
 * AUTO GENERATE BY UI EDITOR.
 * WARNING: DO NOT MODIFY THIS FILE,MAY CAUSE CODE LOST.
 * ATTENTION: onStart 等UI脚本自带函数不可改写为异步执行，有需求的异步逻辑请使用函数封装，通过函数接口在内部使用
 * UI: UI/MatchEndConfirmUI.ui
*/



@UIBind('UI/MatchEndConfirmUI.ui')
export default class MatchEndConfirmUI_Generate extends UIScript {
		private bgImage_Internal: mw.Image
	public get bgImage(): mw.Image {
		if(!this.bgImage_Internal&&this.uiWidgetBase) {
			this.bgImage_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/bgImage') as mw.Image
		}
		return this.bgImage_Internal
	}
	private confirmDialogText_Internal: mw.TextBlock
	public get confirmDialogText(): mw.TextBlock {
		if(!this.confirmDialogText_Internal&&this.uiWidgetBase) {
			this.confirmDialogText_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/confirmDialogText') as mw.TextBlock
		}
		return this.confirmDialogText_Internal
	}
	private confirmButton_Internal: mw.StaleButton
	public get confirmButton(): mw.StaleButton {
		if(!this.confirmButton_Internal&&this.uiWidgetBase) {
			this.confirmButton_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/confirmButton') as mw.StaleButton
		}
		return this.confirmButton_Internal
	}
	private cancelButton_Internal: mw.StaleButton
	public get cancelButton(): mw.StaleButton {
		if(!this.cancelButton_Internal&&this.uiWidgetBase) {
			this.cancelButton_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/cancelButton') as mw.StaleButton
		}
		return this.cancelButton_Internal
	}


 
	/**
	* onStart 之前触发一次
	*/
	protected onAwake() {
	}
	 
}
 